<template>
    <div id="main">
        <Header :title="title"/>
        <Login />
        <Tarbar />
    </div>
</template>

<script>
//导入共用的头部和底部组件 @==src
import Header from "@/components/Header";
import Tarbar from "@/components/tabBar";
import Login from "@/components/Login";
export default {
    data(){
        return{
            title:'我的青柠'//属性传值
        }
    },
    name:"mine",
    components:{
        Header,
        Tarbar,
        Login
    }
}
</script>

<style>

</style>
